using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for MemberInfo
/// </summary>
public class MemberInfo
{
    #region fields
    string username;
    string password;
    int level;
    string firstName;
    string lastName;
    string email;
    string phone;
    string address;
    string note;
    CardInfo card;

    #endregion
    public MemberInfo()
	{
		//
		// TODO: Add constructor logic here
		//
        username = "";
        password = "";
        level = 1;
        firstName = "";
        lastName = "";
        email = "";
        phone = "";
        address = "";
        note = "";
        card = new CardInfo();
    }
    #region properties
    public string Username
    {
        get { return username; }
        set { username = value; }
    }
    public string Password
    {
        get { return password; }
        set { password = value; }
    }
    public int Level
    {
        get { return level; }
        set { level = value; }
    }
    public string FirstName
    {
        get { return firstName; }
        set { firstName = value; }
    }
    public string LastName
    {
        get { return lastName; }
        set { lastName = value; }
    }
    public string Email
    {
        get { return email; }
        set { email = value; }
    }
    public string Phone
    {
        get { return phone; }
        set { phone = value; }
    }
    public string Address
    {
        get { return address; }
        set{address=value;}
    }
    public string Note
    {
        get { return note; }
        set { note = value; }
    }
    public CardInfo Card
    {
        get { return card; }
        set { card = value; }
    }
    #endregion
}
